home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools.owl
- Path: howland.reston.ans.net!torn!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: Re: Displaying Graphics from a array object.
- Message-ID: <DL0w4y.2CJ@emr1.emr.ca>
- Organization: Energy, Mines, and Resources, Ottawa
- References: <DL0EEB.EzF.B.mary@bath.ac.uk>
- Date: Thu, 11 Jan 1996 15:24:33 GMT
-
- In article <DL0EEB.EzF.B.mary@bath.ac.uk> py3mwl@bath.ac.uk (M W Lawrence) writes:
- >
- >Dear wonderful programmer.
- >
- >I am looking for a way to be able to display an array object (either 128
- >* 128, 256 * 256 or 512 * 512 -> this depends upon user instruction
- >earlier in the programme) in full artifical colour in a window,
- >preferably with a slider control mechanism and a scale along the sides
- >(top and bottom).The programme needs to look for a pointer to the adress
- >of the particular object being printed so that I can get the programme to
- >display different data sets.
- >
- >Is there a precompiled run time library out there that will do what I
- >want. Ideally is there an existig windows codeing/programme to do this?
- >
- >Any help is greatly appreciated - as I am a 'L' learner of c++ -
- >especially for windows programmes.!
- >
- >Marc
- >
-
- What is the data type of your array? if it's data values, then
- you might want to find a 'grid' control, i.e. to display it as
- a spreadsheet. If the array contains colours or you want to
- display it as colours, then create a DIB and use the DIB functions.
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-